package com.umpay.dto.merAccess.req.bindcard;


import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 
 * @ClassName: BindcardOrderWithoutCheckReq
 * @Description: 绑卡下单请求类
 * @author zhangtao  
 * @date Jan 22, 2018
 */
public class BindcardOrderWithoutCheckReq extends CommonReq{
	
	/**
	 * 商户订单号
	 */
	@NotEmpty(message = "商户订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String order_id;
	
	/**
	 * 商户订单日期
	 */
	@NotEmpty(message = "商户订单日期不能为空")
	@Pattern(message = "商户订单日期格式不正确")
	private String mer_date;
	
	/**
	 * 联动用户号
	 */
	@NotEmpty(message = "联动用户号不能为空")
	@Pattern(message = "联动用户号格式不正确")
	private String mer_cust_id;
	
	/**
	 *会员类型  1:个人  2:个体  3:企业
	 */
	@NotEmpty(message = "账户类型不能为空")
	@Pattern(message = "账户类型格式不正确")
	private String account_pro;
	
	/**
	 * 银行卡号
	 */
	@NotEmpty(message = "银行卡号不能为空")
	private String card_id;
	
	/**
	 * 银行编号
	 */
	@NotEmpty(message = "银行编号不能为空")
	@Pattern(message = "银行编号格式不正确")
	private String gate_id;
	
	/**
	 * 银行账户名称
	 */
	//@NotEmpty(message = "银行账户名称不能为空")
	private String bank_account_name;
	
	/**
	 * 开卡行所在省
	 */
	private String bank_prov_name;
	
	/**
	 * 开卡行所在市
	 */
	private String bank_area_name;
	
	/**
	 * 开卡支行名称
	 */
	private String bank_branch_name;
	
	/**
	 * 银行预留手机号
	 */
	@Pattern(message = "银行预留手机号格式不正确")
	private String bank_mobile_id;
    
	/**
	 * 服务器异步通知页面路径
	 */
	@Pattern(message = "服务器异步通知地址格式不正确")
	private String notify_url;

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getMer_date() {
		return mer_date;
	}

	public void setMer_date(String mer_date) {
		this.mer_date = mer_date;
	}

	public String getMer_cust_id() {
		return mer_cust_id;
	}

	public void setMer_cust_id(String mer_cust_id) {
		this.mer_cust_id = mer_cust_id;
	}

	public String getAccount_pro() {
		return account_pro;
	}

	public void setAccount_pro(String account_pro) {
		this.account_pro = account_pro;
	}

	public String getCard_id() {
		return card_id;
	}

	public void setCard_id(String card_id) {
		this.card_id = card_id;
	}

	public String getGate_id() {
		return gate_id;
	}

	public void setGate_id(String gate_id) {
		this.gate_id = gate_id;
	}

	public String getBank_account_name() {
		return bank_account_name;
	}

	public void setBank_account_name(String bank_account_name) {
		this.bank_account_name = bank_account_name;
	}

	public String getBank_prov_name() {
		return bank_prov_name;
	}

	public void setBank_prov_name(String bank_prov_name) {
		this.bank_prov_name = bank_prov_name;
	}

	public String getBank_area_name() {
		return bank_area_name;
	}

	public void setBank_area_name(String bank_area_name) {
		this.bank_area_name = bank_area_name;
	}

	public String getBank_branch_name() {
		return bank_branch_name;
	}

	public void setBank_branch_name(String bank_branch_name) {
		this.bank_branch_name = bank_branch_name;
	}

	public String getBank_mobile_id() {
		return bank_mobile_id;
	}

	public void setBank_mobile_id(String bank_mobile_id) {
		this.bank_mobile_id = bank_mobile_id;
	}

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	@Override
	public String toString() {
		return "BindcardOrderWithoutCheckReq{" +
				"order_id='" + order_id + '\'' +
				", mer_date='" + mer_date + '\'' +
				", mer_cust_id='" + mer_cust_id + '\'' +
				", account_pro='" + account_pro + '\'' +
				", card_id='" + card_id + '\'' +
				", gate_id='" + gate_id + '\'' +
				", bank_account_name='" + bank_account_name + '\'' +
				", bank_prov_name='" + bank_prov_name + '\'' +
				", bank_area_name='" + bank_area_name + '\'' +
				", bank_branch_name='" + bank_branch_name + '\'' +
				", bank_mobile_id='" + bank_mobile_id + '\'' +
				", notify_url='" + notify_url + '\'' +
				'}';
	}
}
